Keycloak REST Services 1.2.0.Final

Path: / admin / realms / {realm} / users / {username} / consents

List set of consents granted by this user.

Path parameters:
realm - realm name (not id!)
username -

Sub-Resources
Resources
NameDescription
{client}Revoke consent for particular client

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/users/{username}/consentsList set of consents granted by this user.

Method Detail

GET /admin/realms/{realm}/users/{username}/consents

List set of consents granted by this user.

HTTP Example:
GET /admin/realms/{realm}/users/{username}/consents
API Example:

UsersResource.getConsents({'realm': /* name realm name (not id!) */,
  'username': /* username */});

Output:
List<UserConsentRepresentation> -
Produces:
application/json

Keycloak REST Services 1.2.0.Final